package edu.sctu.practice.class02.hujie.my_practice;

/**
 * Created by user14 on 2015/9/28.
 */
public class test02 {
    public static void main(String[] args) {
        int x, y, z;
        x = 1;
        y = 2;
        z = (x + y > 3 ? x++ : ++y);
        System.out.println("x=" + x);
        System.out.println("y=" + y);
        System.out.println("z=" + z);
        //跳转
        int i = 1, j = 10;
        do {
            if (i++ > --j) break;
        } while (i < 5);
        System.out.println("i=" + i + "<`````>" + "j=" + j);
        //强制转化
        int a;
        char b = '我';
        a = (int) b;
        System.out.println("我" + a);

    }
}
